﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace YTSK.Model
{
    /// <summary>
    /// 仓库档案表
    /// </summary>
    [Serializable]
    public partial class Warehouse
    {
        public Warehouse()
        { }
        #region Model

        /// <summary>
        /// ID
        /// </summary>
        public int ID { set; get; }
        /// <summary>
        /// 仓库编码
        /// </summary>
        public string cWhCode { set; get; }
        /// <summary>
        /// 仓库名称
        /// </summary>
        public string cWhName { set; get; }
        /// <summary>
        /// 仓库地址
        /// </summary>
        public string cWhAddress { set; get; }
        /// <summary>
        /// 仓管姓名
        /// </summary>
        public string cWhPerson { set; get; }
        /// <summary>
        /// 仓库电话
        /// </summary>
        public string cWhMobile { set; get; }
        /// <summary>
        /// 备注
        /// </summary>
        public string cMemo { set; get; }
        /// <summary>
        /// 时间戳
        /// </summary>
        public byte[] ts { set; get; }
        /// <summary>
        /// 录入人
        /// </summary>
        public string cMaker { set; get; }
        /// <summary>
        /// 录入时间
        /// </summary>
        public DateTime? dDate { set; get; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string cModify { set; get; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? dMDate { set; get; }
        /// <summary>
        /// 停用时间
        /// </summary>
        public DateTime? dStopDate { set; get; }
        /// <summary>
        /// 
        /// </summary>
        public int? iYear { set; get; }
        /// <summary>
        /// 
        /// </summary>
        public int? iMonth { set; get; }
        /// <summary>
        /// 
        /// </summary>
        public bool bCount { set; get; }
        /// <summary>
        /// 
        /// </summary>
        public int? IDVendor { set; get; }
        /// <summary>
        /// 对应客户
        /// </summary>
        public int? IDCustomer { set; get; }
        /// <summary>
        /// 对应仓库分类ID
        /// </summary>
        public int? ParentID { set; get; }
        /// <summary>
        /// 面积
        /// </summary>
        public decimal? area { set; get; }
        /// <summary>
        /// 面积
        /// </summary>
        public decimal? height { set; get; }
        /// <summary>
        /// 面积
        /// </summary>
        public decimal? capacity { set; get; }
        /// <summary>
        /// 是否货位管理
        /// </summary>
        public bool bWhPos { set; get; }
        /// <summary>
        /// 是否控制可用量
        /// </summary>
        public bool bControlQuantity { set; get; }
        /// <summary>
        /// 仓库自定义1-银商商户号
        /// </summary>
        public string cWhDef1 { set; get; }
        /// <summary>
        /// 仓库自定义2-银商终端号
        /// </summary>
        public string cWhDef2 { set; get; }
        /// <summary>
        /// 仓库自定义3
        /// </summary>
        public string cWhDef3 { set; get; }
        /// <summary>
        /// 仓库自定义4
        /// </summary>
        public string cWhDef4 { set; get; }
        /// <summary>
        /// 仓库自定义5
        /// </summary>
        public string cWhDef5 { set; get; }
        /// <summary>
        /// 仓库自定义6
        /// </summary>
        public string cWhDef6 { set; get; }
        /// <summary>
        /// 仓库自定义7
        /// </summary>
        public string cWhDef7 { set; get; }
        /// <summary>
        /// 仓库自定义8
        /// </summary>
        public string cWhDef8 { set; get; }
        /// <summary>
        /// 仓库自定义9
        /// </summary>
        public string cWhDef9 { set; get; }

        #endregion Model

    }
}
